package medical.demo.controller;

import com.demo.pojo.THisPatientInformation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
@RequestMapping(value = "/THisPatientInformationController")
public class DoctorController {

    @RequestMapping("/insert")
    public String test(THisPatientInformation tHisPatientInformation){

        tHisPatientInformation.setInformationName("孙伟浩");
        tHisPatientInformation.setInformationAge("20");
        tHisPatientInformation.setInformationPhone("18790811278");


        return "测试";
    }
}
